#!/usr/bin/env python
# -*- coding: utf-8 -*-
# @Time    : 2025/7/31 12:24
# @Author  : summer
# @Email   : 610658552@qq.com
# @File    : urls.py.py
# @Software: PyCharm
# @Desc    :
from django.urls import path

from sdingding.views.view_dingtalk_config import DingTalkConfigListCreateView
from sdingding.views.view_dingtalk_config import DingTalkConfigRetrieveUpdateDestroyView
# 钉钉配置接口
urlpatterns = [
    # 列表+新增
    path('dingtalk/', DingTalkConfigListCreateView.as_view(), name='dingtalk-config-list-create'),
    # 详情+更新+删除
    path('dingtalk/<int:pk>/', DingTalkConfigRetrieveUpdateDestroyView.as_view(), name='dingtalk-config-detail'),
]
